#!/bin/bash
# run this file to get latest translation files from Openbravo SVN repozitory
# see http://odo.lv/Recipes/OpenbravoLatvian for more information

wget -N --no-check-certificate https://dev.openbravo.com/svn/localization/translations/lv_LV/trunk/

url="https://dev.openbravo.com/svn/localization/translations/lv_LV/trunk/";for x in $(cat index.html|awk -F '"' '{print $2}'); do wget -N --no-check-certificate $url$x;done

rm -f index.*

